package com.weilai.service;

import com.weilai.domain.Background;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.web.multipart.MultipartFile;

public interface BackgroundService {

    //根据用户id查询背景url
    public Background getByUserId(Integer UserId);

    //更改背景
    public void updateBackground(Integer userId, MultipartFile file);

    //注册背景
    public void insertBackground(int userId, String url);
}
